﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C99 RID: 3225
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OHDFBINCPNF : IMessage<OHDFBINCPNF>, IMessage, IEquatable<OHDFBINCPNF>, IDeepCloneable<OHDFBINCPNF>, IBufferMessage
	{
		// Token: 0x17002892 RID: 10386
		// (get) Token: 0x06009013 RID: 36883 RVA: 0x0017E70D File Offset: 0x0017C90D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OHDFBINCPNF> Parser
		{
			get
			{
				return OHDFBINCPNF._parser;
			}
		}

		// Token: 0x17002893 RID: 10387
		// (get) Token: 0x06009014 RID: 36884 RVA: 0x0017E714 File Offset: 0x0017C914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OHDFBINCPNFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002894 RID: 10388
		// (get) Token: 0x06009015 RID: 36885 RVA: 0x0017E726 File Offset: 0x0017C926
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OHDFBINCPNF.Descriptor;
			}
		}

		// Token: 0x06009016 RID: 36886 RVA: 0x0017E72D File Offset: 0x0017C92D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OHDFBINCPNF()
		{
		}

		// Token: 0x06009017 RID: 36887 RVA: 0x0017E738 File Offset: 0x0017C938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OHDFBINCPNF(OHDFBINCPNF other) : this()
		{
			this.gAJFGDGOBCG_ = other.gAJFGDGOBCG_;
			this.nPIDJACJPFN_ = other.nPIDJACJPFN_;
			this.hLCJKBONMOF_ = other.hLCJKBONMOF_;
			this.iGADMJFCGCO_ = other.iGADMJFCGCO_;
			this.itemId_ = other.itemId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009018 RID: 36888 RVA: 0x0017E798 File Offset: 0x0017C998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OHDFBINCPNF Clone()
		{
			return new OHDFBINCPNF(this);
		}

		// Token: 0x17002895 RID: 10389
		// (get) Token: 0x06009019 RID: 36889 RVA: 0x0017E7A0 File Offset: 0x0017C9A0
		// (set) Token: 0x0600901A RID: 36890 RVA: 0x0017E7A8 File Offset: 0x0017C9A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int GAJFGDGOBCG
		{
			get
			{
				return this.gAJFGDGOBCG_;
			}
			set
			{
				this.gAJFGDGOBCG_ = value;
			}
		}

		// Token: 0x17002896 RID: 10390
		// (get) Token: 0x0600901B RID: 36891 RVA: 0x0017E7B1 File Offset: 0x0017C9B1
		// (set) Token: 0x0600901C RID: 36892 RVA: 0x0017E7B9 File Offset: 0x0017C9B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int NPIDJACJPFN
		{
			get
			{
				return this.nPIDJACJPFN_;
			}
			set
			{
				this.nPIDJACJPFN_ = value;
			}
		}

		// Token: 0x17002897 RID: 10391
		// (get) Token: 0x0600901D RID: 36893 RVA: 0x0017E7C2 File Offset: 0x0017C9C2
		// (set) Token: 0x0600901E RID: 36894 RVA: 0x0017E7CA File Offset: 0x0017C9CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HLCJKBONMOF
		{
			get
			{
				return this.hLCJKBONMOF_;
			}
			set
			{
				this.hLCJKBONMOF_ = value;
			}
		}

		// Token: 0x17002898 RID: 10392
		// (get) Token: 0x0600901F RID: 36895 RVA: 0x0017E7D3 File Offset: 0x0017C9D3
		// (set) Token: 0x06009020 RID: 36896 RVA: 0x0017E7DB File Offset: 0x0017C9DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IGADMJFCGCO
		{
			get
			{
				return this.iGADMJFCGCO_;
			}
			set
			{
				this.iGADMJFCGCO_ = value;
			}
		}

		// Token: 0x17002899 RID: 10393
		// (get) Token: 0x06009021 RID: 36897 RVA: 0x0017E7E4 File Offset: 0x0017C9E4
		// (set) Token: 0x06009022 RID: 36898 RVA: 0x0017E7EC File Offset: 0x0017C9EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x06009023 RID: 36899 RVA: 0x0017E7F5 File Offset: 0x0017C9F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OHDFBINCPNF);
		}

		// Token: 0x06009024 RID: 36900 RVA: 0x0017E804 File Offset: 0x0017CA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OHDFBINCPNF other)
		{
			return other != null && (other == this || (this.GAJFGDGOBCG == other.GAJFGDGOBCG && this.NPIDJACJPFN == other.NPIDJACJPFN && this.HLCJKBONMOF == other.HLCJKBONMOF && this.IGADMJFCGCO == other.IGADMJFCGCO && this.ItemId == other.ItemId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009025 RID: 36901 RVA: 0x0017E880 File Offset: 0x0017CA80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GAJFGDGOBCG != 0)
			{
				num ^= this.GAJFGDGOBCG.GetHashCode();
			}
			if (this.NPIDJACJPFN != 0)
			{
				num ^= this.NPIDJACJPFN.GetHashCode();
			}
			if (this.HLCJKBONMOF != 0U)
			{
				num ^= this.HLCJKBONMOF.GetHashCode();
			}
			if (this.IGADMJFCGCO != 0U)
			{
				num ^= this.IGADMJFCGCO.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009026 RID: 36902 RVA: 0x0017E923 File Offset: 0x0017CB23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009027 RID: 36903 RVA: 0x0017E92B File Offset: 0x0017CB2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009028 RID: 36904 RVA: 0x0017E934 File Offset: 0x0017CB34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HLCJKBONMOF != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.HLCJKBONMOF);
			}
			if (this.GAJFGDGOBCG != 0)
			{
				output.WriteRawTag(24);
				output.WriteInt32(this.GAJFGDGOBCG);
			}
			if (this.NPIDJACJPFN != 0)
			{
				output.WriteRawTag(64);
				output.WriteInt32(this.NPIDJACJPFN);
			}
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.ItemId);
			}
			if (this.IGADMJFCGCO != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.IGADMJFCGCO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009029 RID: 36905 RVA: 0x0017E9E0 File Offset: 0x0017CBE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GAJFGDGOBCG != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.GAJFGDGOBCG);
			}
			if (this.NPIDJACJPFN != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.NPIDJACJPFN);
			}
			if (this.HLCJKBONMOF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HLCJKBONMOF);
			}
			if (this.IGADMJFCGCO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IGADMJFCGCO);
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600902A RID: 36906 RVA: 0x0017EA80 File Offset: 0x0017CC80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OHDFBINCPNF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GAJFGDGOBCG != 0)
			{
				this.GAJFGDGOBCG = other.GAJFGDGOBCG;
			}
			if (other.NPIDJACJPFN != 0)
			{
				this.NPIDJACJPFN = other.NPIDJACJPFN;
			}
			if (other.HLCJKBONMOF != 0U)
			{
				this.HLCJKBONMOF = other.HLCJKBONMOF;
			}
			if (other.IGADMJFCGCO != 0U)
			{
				this.IGADMJFCGCO = other.IGADMJFCGCO;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600902B RID: 36907 RVA: 0x0017EB0C File Offset: 0x0017CD0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600902C RID: 36908 RVA: 0x0017EB18 File Offset: 0x0017CD18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 8U)
					{
						this.HLCJKBONMOF = input.ReadUInt32();
						continue;
					}
					if (num == 24U)
					{
						this.GAJFGDGOBCG = input.ReadInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.NPIDJACJPFN = input.ReadInt32();
						continue;
					}
					if (num == 80U)
					{
						this.ItemId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.IGADMJFCGCO = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040036E7 RID: 14055
		private static readonly MessageParser<OHDFBINCPNF> _parser = new MessageParser<OHDFBINCPNF>(() => new OHDFBINCPNF());

		// Token: 0x040036E8 RID: 14056
		private UnknownFieldSet _unknownFields;

		// Token: 0x040036E9 RID: 14057
		public const int GAJFGDGOBCGFieldNumber = 3;

		// Token: 0x040036EA RID: 14058
		private int gAJFGDGOBCG_;

		// Token: 0x040036EB RID: 14059
		public const int NPIDJACJPFNFieldNumber = 8;

		// Token: 0x040036EC RID: 14060
		private int nPIDJACJPFN_;

		// Token: 0x040036ED RID: 14061
		public const int HLCJKBONMOFFieldNumber = 1;

		// Token: 0x040036EE RID: 14062
		private uint hLCJKBONMOF_;

		// Token: 0x040036EF RID: 14063
		public const int IGADMJFCGCOFieldNumber = 14;

		// Token: 0x040036F0 RID: 14064
		private uint iGADMJFCGCO_;

		// Token: 0x040036F1 RID: 14065
		public const int ItemIdFieldNumber = 10;

		// Token: 0x040036F2 RID: 14066
		private uint itemId_;
	}
}
